package es.usj;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AutoArranque  extends BroadcastReceiver
{   
    ReceptorBroadcast alarma = new ReceptorBroadcast();
    @Override
    public void onReceive(Context context, Intent intent)
    {   
        if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED"))
        {
            alarma.SetAlarm(context, null, 0);
        }
    }
}